.base{
    width: 100px;
    height: 100px;
    outline: none;
}

.btn_primary{
    @extend .base;
    background: blue;
}

.btn_default{
    @extend .base;
    background: gray;
}

.btn_warn{
    @extend .base;
    background: red;
}